package com.burningtower.service.impl;

import com.burningtower.entity.RoleResource;
import com.burningtower.mapper.RoleResourceMapper;
import com.burningtower.service.IRoleResourceService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 角色资源 服务实现类
 * </p>
 *
 * @author zhe
 * @since 2017-11-17
 */
@Service
public class RoleResourceServiceImpl extends ServiceImpl<RoleResourceMapper, RoleResource> implements IRoleResourceService {

    @Override
    public List<Long> selectResourceIdListByRoleId(Long roleId) {
        return baseMapper.selectResourceIdListByRoleId(roleId);
    }
}
